﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<style type="text/css">
    </style>
<div id="getunreadtask" style="overflow-y: auto; height: 100px; padding-left: 10px;">
    <table>
        <tr style="display: block; margin: 3px 0px;">
            <th width="120">
                流程
            </th>
            <th width="60">
            </th>
        </tr>
        <%var dt = ViewData["unread"] as System.Data.DataTable; %>
        <%if (dt != null)
          {
              var rowCount = dt.Rows.Count;
              for (var rowIndex = 0; rowIndex < rowCount; rowIndex++)
              {
        %>
        <tr style="display: block; margin: 3px 0px;">
            <td width="120">
                <%=dt.Rows[rowIndex]["任务名称"]%>
            </td>
            <td width="60">
                <%=Ajax.ActionLink("审批", "WFProcess","WorkFlow",
                new
                {
                    uniqueid = dt.Rows[rowIndex]["实标识例"],
                    task_id = dt.Rows[rowIndex]["任务编码"],
                    ptask_id = dt.Rows[rowIndex]["父级编码"]
                }, new AjaxOptions { UpdateTargetId = "workarea-2-2-examine", OnSuccess = "confirm_wf_msg('"+dt.Rows[rowIndex]["任务编码"]+"')" })%>
            </td>
        </tr>
        <%}
          }%>
    </table>
</div>
